﻿using System;

namespace YArchitech.BIM
{
	public class DuctSize
	{
		public DuctSize(double diameter)
		{
			this.section = 0;
			this.diameter = diameter;
		}

		public DuctSize(double height, double width)
		{
			this.section = 1;
			this.height = height;
			this.width = width;
		}

		public DuctSize(int section, double height, double width)
		{
			this.section = section;
			this.height = height;
			this.width = width;
		}

		public int Section
		{
			get
			{
				return this.section;
			}
			set
			{
				this.section = value;
			}
		}

		public double Height
		{
			get
			{
				return this.height;
			}
			set
			{
				this.height = value;
			}
		}

		public double Width
		{
			get
			{
				return this.width;
			}
			set
			{
				this.width = value;
			}
		}

		public double Diameter
		{
			get
			{
				return this.diameter;
			}
			set
			{
				this.diameter = value;
			}
		}

		private int section;

		private double height;

		private double width;

		private double diameter;
	}
}
